package com.iloomo.util;

import org.apache.shiro.crypto.hash.SimpleHash;

/**
 * @author
 * @version 1.0
 * @className EncryptionUtil
 * @date 2019/4/29 13:13
 * @description TODO
 */

public class EncryptionUtil {
    public static String encryption(String username,String password){
        return new SimpleHash("SHA-1", username, password).toString();	//密码加密
    }
}
